$(document).ready(function() {

// Support for AJAX loaded modal window.
// Focuses on first input textbox after it loads the window.
$('[data-toggle="modal"]').click(function(e) {
	//e.preventDefault();
	var target = $(this).attr("data-target");
	var url = $(this).attr('href');
	var modalContent = $('<div class="modal fade" id="myModal">SIMPLE TEXT</div>');
	$('body').append(modalContent);
	return $(target).load(url);
});

});
